#ifndef SETTINGWIDGET_H
#define SETTINGWIDGET_H
#include <QWidget>
#include <QSpinBox>
#include <QPushButton>
#include <QLabel>


class SettingWidget: public QWidget
{
    Q_OBJECT

public:
    explicit SettingWidget(QWidget *parent = nullptr);
    ~SettingWidget(){};


private:
    void setupUI();
    void initConfig();
    void createConnect();


public slots:
    void onConfirmClick();
    void onChangeSavePath();

private:

    QSpinBox *m_robotNum;
    QDoubleSpinBox *m_grindingPanDiameter;
    QDoubleSpinBox *m_overlapWidth;
    QLabel *m_savePath;
    QPushButton *m_btnChangeSavePath;

    QPushButton *m_btnConfirm;
};

#endif // SETTINGWIDGET_H
